package com.huli.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huli.domain.Carport;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface CarPortMapper1 extends BaseMapper<Carport> {

    //查询车库所有的车位
    @Select("SELECT * FROM carport WHERE garage_id=#{garageId}")
    public List<Carport> selectAllCarport(int garageId);
}
